package com.zhang.controller;


import com.zhang.domain.Order;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;


@RestController
@RequestMapping("/order")
public class OrderController {


    @ApiIgnore
    @GetMapping("/add")
    public String add(){

        return "a";
    }



    @PostMapping("/fiandAll")
    public Order fiandAll(String username, String password){

        Order order = new Order();

        return order;
    }


    @GetMapping("/findBOne")
    public String findBOne(){

        return "1";
    }

}






